//
//  Car.h
//  CarParts-Split
//
//  Created by quentin on 15/8/26.
//  Copyright (c) 2015年 QuentinLabs. All rights reserved.
//

#import <Cocoa/Cocoa.h>
//#import "Tire.h"
//#import "Engine.h"

@class Engine;
@class Tire;

@interface Car : NSObject
{
@private
    Engine* engine;
    Tire* tires[4];
}

//-
-(Engine*) engine;

//-
-(void) setEngine: (Engine*) newEngine;

//-
-(Tire*) tireAtIndex:(int) index;

//-
-(void) setTire: (Tire* ) tire atIndex:(int) index;

//-
-(void) print;

@end //car

